package com.cw.jeeyt.dao.model.security;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 组织机构Do
 *
 * @author chenw
 * @date 2020-03-18 20:05:22
 */
@Table(name = "security_org")
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecurityOrgDo extends SecurityOrgKeyDo implements Serializable {
    private static final long serialVersionUID = 1240247925858656265L;
    /** 机构编码 */
    @Column(name = "org_code")
    private String orgCode;
    /** 机构名称 */
    @Column(name = "org_name")
    private String orgName;
    /** 机构类型 */
    @Column(name = "org_type")
    private String orgType;
    /** 上级机构id */
    @Column(name = "org_parent_id")
    private Long orgParentId;
    /** 备注 */
    @Column(name = "org_comment")
    private String orgComment;
    /** 创建人 */
    @Column(name = "create_by")
    private Long createBy;
    /** 创建时间 */
    @Column(name = "create_date")
    private java.util.Date createDate;
    /** 修改人 */
    @Column(name = "update_by")
    private Long updateBy;
    /** 修改时间 */
    @Column(name = "update_date")
    private java.util.Date updateDate;
    /** 机构编码 */
    @Column(name = "org_level_code")
    private String orgLevelCode;
    /** 机构状态 */
    @Column(name = "org_state")
    private String orgState;
    /** 机构地址 */
    @Column(name = "org_address")
    private String orgAddress;
    /** 机构邮政编码 */
    @Column(name = "org_post_code")
    private String orgPostCode;
    /** 机构邮箱 */
    @Column(name = "org_email")
    private String orgEmail;
    /** 机构电话 */
    @Column(name = "org_phone")
    private String orgPhone;
    /** 机构传真 */
    @Column(name = "org_fax")
    private String orgFax;
    /** 机构排序 */
    @Column(name = "org_sort")
    private Integer orgSort;
    /**
     *
     */
    @Column(name = "managers")
    private String managers;
    /**
     *
     */
    @Column(name = "manager_ids")
    private String managerIds;
    /**
     *
     */
    @Column(name = "leaders")
    private String leaders;
    /**
     *
     */
    @Column(name = "leader_ids")
    private String leaderIds;
    /**
     *
     */
    @Column(name = "top_orgs")
    private String topOrgs;
    /**
     *
     */
    @Column(name = "top_org_ids")
    private String topOrgIds;
    /** 父机构编号 */
    private String orgParentCode;
    /** 父机构名称 */
    private String orgParentName;
}
